:(

SQLSTATE[08004] [1040] Too many connections

错误位置

FILE: E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 109

TRACE

#0 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Db\Driver.class.php(109): E('SQLSTATE[08004]...')
#1 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Db\Driver.class.php(1059): Think\Db\Driver->connect()
#2 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Db\Driver\Mysql.class.php(50): Think\Db\Driver->initConnect(true)
#3 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Model.class.php(134): Think\Db\Driver\Mysql->getFields('db_yingyongshuj...')
#4 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Model.class.php(122): Think\Model->flush()
#5 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Model.class.php(1429): Think\Model->_checkTableInfo()
#6 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Model.class.php(97): Think\Model->db(0, '', true)
#7 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Common\functions.php(619): Think\Model->__construct('yingyongshuju', '', '')
#8 E:\phpstudy2021\WWW\web\cimim\Application\Home\Controller\IndexController.class.php(19): M('yingyongshuju')
#9 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Controller.class.php(41): Home\Controller\IndexController->_initialize()
#10 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Common\functions.php(679): Think\Controller->__construct()
#11 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\App.class.php(89): controller('Index', '')
#12 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\App.class.php(202): Think\App::exec()
#13 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\Library\Think\Think.class.php(121): Think\App::run()
#14 E:\phpstudy2021\WWW\web\cimim\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#15 E:\phpstudy2021\WWW\web\cimim\index.php(24): require('E:\\phpstudy2021...')
#16 {main}